/* Desktop - κανονικό μενού πάνω */
@media (min-width: 992px) {
    .navbar {
        position: relative;
    }
    /* ΣΗΜΑΝΤΙΚΟ: Κρύβουμε τα mobile elements στο desktop */
    .mobile-bottom-nav,
    .account-modal,
    .modal-backdrop {
        display: none !important;
    }
}

/* Mobile - Bottom Navigation */
@media (max-width: 991px) {
    /* Κρύβουμε το default navbar */
    .navbar {
        display: none !important;
    }
    
    /* Padding για το περιεχόμενο */
    body {
        padding-bottom: 70px;
    }
    
    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
    }
    
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 11px;
        padding: 5px 10px;
        flex: 1;
        max-width: 100px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:active,
    .mobile-bottom-nav button:hover,
    .mobile-bottom-nav button:active {
        color: #007bff;
    }
    
    .mobile-bottom-nav span[class*="mbr-iconfont"] {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    /* Account Modal/Bottom Sheet */
    .account-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        z-index: 2000;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        max-height: 60vh;
        overflow-y: auto;
        display: block;
    }
    
    .account-modal.show {
        transform: translateY(0);
    }
    
    .account-modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .account-modal-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .close-modal {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        padding: 0;
        width: 30px;
        height: 30px;
        line-height: 1;
    }
    
    .account-modal-content {
        padding: 10px 0;
    }
    
    .account-modal-item {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .account-modal-item:last-child {
        border-bottom: none;
    }
    
    .account-modal-item:active {
        background: #f5f5f5;
    }
    
    .account-modal-item span[class*="mbr-iconfont"] {
        font-size: 24px;
        margin-right: 15px;
        color: #007bff;
    }
    
    .account-modal-item span:last-child {
        font-size: 15px;
    }
    
    /* Backdrop */
    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        display: none;
    }
    
    .modal-backdrop.show {
        display: block;
    }
}